
package springair.component.itemrenderer 
{
	import org.as3commons.reflect.Type;

	import mx.controls.listClasses.ListItemRenderer;

	/**
	 * @author a.fell
	 */
	public class ClassTypeListRenderer extends ListItemRenderer 
	{
		public function ClassTypeListRenderer()
		{
		}
		
		public function get classType():Type
		{
			return data as Type;
		}

		
		
		override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
		{
			label.text = classType.name;
			super.updateDisplayList(unscaledWidth, unscaledHeight);
		}
	}
}
